package com.jr.entry;

import org.springframework.stereotype.Component;

@Component
public class BookInfo {
    private Integer book_id;
    private String book_code;
    private String book_name;
    private Integer book_type;
    private String book_author;
    private String publish_press;
    private String publish_date;
    private Integer is_borrow;
    private String createBy;
    private String creation_time;
    private String last_updatetime;

    public BookInfo() {
    }

    public BookInfo(Integer book_id, String book_code, String book_name, Integer book_type, String book_author, String publish_press, String publish_date, Integer is_borrow, String createBy, String creation_time, String last_updatetime) {
        this.book_id = book_id;
        this.book_code = book_code;
        this.book_name = book_name;
        this.book_type = book_type;
        this.book_author = book_author;
        this.publish_press = publish_press;
        this.publish_date = publish_date;
        this.is_borrow = is_borrow;
        this.createBy = createBy;
        this.creation_time = creation_time;
        this.last_updatetime = last_updatetime;
    }

    /**
     * 获取
     * @return book_id
     */
    public Integer getBook_id() {
        return book_id;
    }

    /**
     * 设置
     * @param book_id
     */
    public void setBook_id(Integer book_id) {
        this.book_id = book_id;
    }

    /**
     * 获取
     * @return book_code
     */
    public String getBook_code() {
        return book_code;
    }

    /**
     * 设置
     * @param book_code
     */
    public void setBook_code(String book_code) {
        this.book_code = book_code;
    }

    /**
     * 获取
     * @return book_name
     */
    public String getBook_name() {
        return book_name;
    }

    /**
     * 设置
     * @param book_name
     */
    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    /**
     * 获取
     * @return book_type
     */
    public Integer getBook_type() {
        return book_type;
    }

    /**
     * 设置
     * @param book_type
     */
    public void setBook_type(Integer book_type) {
        this.book_type = book_type;
    }

    /**
     * 获取
     * @return book_author
     */
    public String getBook_author() {
        return book_author;
    }

    /**
     * 设置
     * @param book_author
     */
    public void setBook_author(String book_author) {
        this.book_author = book_author;
    }

    /**
     * 获取
     * @return publish_press
     */
    public String getPublish_press() {
        return publish_press;
    }

    /**
     * 设置
     * @param publish_press
     */
    public void setPublish_press(String publish_press) {
        this.publish_press = publish_press;
    }

    /**
     * 获取
     * @return publish_date
     */
    public String getPublish_date() {
        return publish_date;
    }

    /**
     * 设置
     * @param publish_date
     */
    public void setPublish_date(String publish_date) {
        this.publish_date = publish_date;
    }

    /**
     * 获取
     * @return is_borrow
     */
    public Integer getIs_borrow() {
        return is_borrow;
    }

    /**
     * 设置
     * @param is_borrow
     */
    public void setIs_borrow(Integer is_borrow) {
        this.is_borrow = is_borrow;
    }

    /**
     * 获取
     * @return createBy
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 设置
     * @param createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取
     * @return creation_time
     */
    public String getCreation_time() {
        return creation_time;
    }

    /**
     * 设置
     * @param creation_time
     */
    public void setCreation_time(String creation_time) {
        this.creation_time = creation_time;
    }

    /**
     * 获取
     * @return last_updatetime
     */
    public String getLast_updatetime() {
        return last_updatetime;
    }

    /**
     * 设置
     * @param last_updatetime
     */
    public void setLast_updatetime(String last_updatetime) {
        this.last_updatetime = last_updatetime;
    }

    public String toString() {
        return "BookInfo{book_id = " + book_id + ", book_code = " + book_code + ", book_name = " + book_name + ", book_type = " + book_type + ", book_author = " + book_author + ", publish_press = " + publish_press + ", publish_date = " + publish_date + ", is_borrow = " + is_borrow + ", createBy = " + createBy + ", creation_time = " + creation_time + ", last_updatetime = " + last_updatetime + "}";
    }
}
